#include <iostream>
#include <algorithm>
using namespace std;
#include "PriorityQueue.h"

int main()
{
	lcx::priority_queue<int> pq;
	pq.push(2);
	pq.push(1);
	pq.push(5);
	pq.push(3);
	pq.push(4);
	
	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}


	return 0;
}